package com.woniu.maintain.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.woniu.common.entity.JpMalfunction;
import java.util.List;

import com.woniu.maintain.entity.JpMalfunctionExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface JpMalfunctionDao extends BaseMapper<JpMalfunction> {

    List<JpMalfunction> findAll();

    JpMalfunction findById(Integer id);

    Long getLastInsertId();



    long countByExample(JpMalfunctionExample example);

    int deleteByExample(JpMalfunctionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(JpMalfunction record);

    int insertSelective(JpMalfunction record);

    List<JpMalfunction> selectByExample(JpMalfunctionExample example);

    JpMalfunction selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") JpMalfunction record, @Param("example") JpMalfunctionExample example);

    int updateByExample(@Param("record") JpMalfunction record, @Param("example") JpMalfunctionExample example);

    int updateByPrimaryKeySelective(JpMalfunction record);

    int updateByPrimaryKey(JpMalfunction record);


}